package com.wuhunyu.service;

import com.wuhunyu.commonutils.result.CommonResult;

/**
 * 短信服务
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-22 21:06
 */
public interface MsmService {

    /**
     * 发送短信验证码
     * @param phone
     * @return
     */
    public CommonResult sendPhone(String phone);

    /**
     * 送法邮箱验证码
     * @param email
     * @return
     */
    public CommonResult sendEmail(String email);

}
